from setuptools import find_packages, setup
import os
from glob import glob

package_name = "path_planer"

setup(
    name=package_name,
    version="0.0.0",
    packages=find_packages(exclude=["test"]),
    data_files=[
        ("share/ament_index/resource_index/packages", ["resource/" + package_name]),
        ("share/" + package_name, ["package.xml"]),
        (
            "share/" + package_name + "/launch",
            glob(os.path.join("launch", "*.launch.py")),
        ),
        ("share/" + package_name + "/config",["resource/path_view.rviz"])
    ],
    install_requires=["setuptools"],
    zip_safe=True,
    maintainer="czq",
    maintainer_email="1448973286@qq.com",
    description="TODO: Package description",
    license="TODO: License declaration",
    tests_require=["pytest"],
    entry_points={
        "console_scripts": [
            "demo = path_planer.demo:main",
            "path_creator=path_planer.path_creator:main",
            "path_publisher=path_planer.path_publisher:main",
            "local_path_planer=path_planer.local_path_planer:main",
            "local_path_planer_lc=path_planer.local_path_planer_lc:main",
        ],
    },
)
